/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  text-align: right;
  direction: rtl;
}
/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #ffffff;
  border-bottom: 2px solid #ddd;
}

.logo img {
  width: 100px;
  height: auto;
  
}

.center-text {
  text-align: center;
}

.center-text h1 {
  font-size: 28px;
  font-weight: bold;
  color: #389c54;
}

.center-text h2 {
  font-size: 18px;
  color: #555;
}

.center-text p {
  font-size: 14px;
  color: #777;
}


/* Navigation */
.navbar {
  background-color: #003366;
  overflow: hidden;
  text-align: center;
  width: 100%;
}

.navbar a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 14px;
}

.navbar a:hover {
  background-color: #0055a5;
}

/* Hero Section */
.hero {
  background-color: #eef3f8;
  padding: 30px 20px;
  text-align: center;
}

.hero h2 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 10px;
}

.hero p {
  font-size: 14px;
  margin-bottom: 20px;
}

/* Cards Section */
.buttons-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  background-color: #fff;
}

.program-card {
  background-color: #f5f3f3;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
}

.program-card h3 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 15px;
}

.program-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

/* زر ابدأ التقديم */
.apply-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #28a745; /* لون جذاب ومميز */
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.apply-btn:hover {
  background-color: #003366;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: center;
  }

  .buttons-section {
    flex-direction: column;
    align-items: center;
  }
}
